<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./index.css">
</head>

<body>
  <div id="app">
    <button v-on:click="show = !show">
      Toggle
    </button>
      <p ref="pid" v-show="show">hello</p>


      <div class="loop" :class="show?'loop-show':'loop-hide'">
        <div class="loop-item">234</div>
        <div class="loop-item">234</div>
      </div>

      <ul>
        <li class="lis" :class="{'lis--active': (lisActive === i)} " v-for="i in 10" :key="i" ref="lis">{{i}}</li>
      </ul>
  </div>

  <script src="./vue.global.js"></script>
  <script src="./index.js"></script>
  <script>
    const { createApp } = Vue
    const app = createApp(appOption)
    
    app.mount("#app")

  </script>
</body>

</html>